<template>
  <c-timeline
    :data="data"
    class="c-eqpt-list-view-log"
    :option="{
      timestamp: 'create_time'
    }"
  >
    <template #default="{item}">
      <c-card>
        <div class="c-eqpt-list-view-log-text">
          {{ item.remark.join('\r\n') }}
        </div>
        <div class="c-eqpt-list-view-log-operator">
          {{ multLang('title_b_d', ':') }}{{ item.create_user_name }}
        </div>
      </c-card>
    </template>
  </c-timeline>
</template>
<script>
export default {
  name: 'CEqptListViewLog',
  components: {},
  props: {
    data: {
      type: Array,
      default() {
        return []
      }
    }
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {},
  beforeUpdate() {},
  updated() {},
  activated() {},
  deactivated() {},
  beforeDestroy() {},
  destroyed() {},
  methods: {}
}
</script>
<style lang="scss">
.c-eqpt-list-view-log {
  &-text {
    color: #333;
    line-height: 24px;
    white-space: pre-line;
    word-break: break-all;
  }
  &-operator {
    color: #999;
    margin-top: 20px;
  }
}
</style>
